<?php

/**
 * Laravel-admin - admin builder based on Laravel.
 * @author z-song <https://github.com/z-song>
 *
 * Bootstraper for Admin.
 *
 * Here you can remove builtin form field:
 * Encore\Admin\Form::forget(['map', 'editor']);
 *
 * Or extend custom form field:
 * Encore\Admin\Form::extend('php', PHPEditor::class);
 *
 * Or require js and css assets:
 * Admin::css('/packages/prettydocs/css/styles.css');
 * Admin::js('/packages/prettydocs/js/main.js');
 *
 */

use App\Admin\Extensions\Nav\Links;

Encore\Admin\Form::forget(['map', 'editor']);

// 注册scriptinjecter，稍后使用。
Encore\Admin\Form::extend('scriptinjecter', Field\Interaction\ScriptInjecter::class);

Admin::navbar(function (\Encore\Admin\Widgets\Navbar $navbar) {

      $navbar->left(view('admin.title-bar'));
//  $navbar->left('<div style="color: white;">成都温江旗舰店</div>');

//  $navbar->right(new Links());

});

